package com.example.service.dao;

import com.example.service.bean.SysRoleBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysRoleBeanMapper {
    int deleteByPrimaryKey(Long roleId);

    int insert(SysRoleBean record);

    int insertSelective(SysRoleBean record);

    SysRoleBean selectByPrimaryKey(Long roleId);

    int updateByPrimaryKeySelective(SysRoleBean record);

    int updateByPrimaryKey(SysRoleBean record);

    List<SysRoleBean> findRoleByUserId(Long userId);
}